package com.xindacloud.sms.portal.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@Data
@Builder
@ApiModel(value = "查询短信VO")
@JsonIgnoreProperties(ignoreUnknown = true)
public class SearchMessageDTO implements Serializable {

    @ApiModelProperty(value = "短信id,存在多个ID用逗号(,)隔开", name = "messageIds")
    String messageIds;
    @ApiModelProperty(value = "开始时间yyyy-MM-dd HH:mm:ss", name = "startDate")
    String startDate;
    @ApiModelProperty(value = "结束时间yyyy-MM-dd HH:mm:ss", name = "endDate")
    String endDate;
    @ApiModelProperty(value = "短信接收者", name = "to")
    String to;
    /* @ApiModelProperty(value = "短信平台代理商ID", name = "agentId")
     String agentId;*/
    @ApiModelProperty(value = "用户ID,可以为null", name = "userId", hidden = true)
    String userId;
    @ApiModelProperty(value = "当前页", name = "currentPage", example = "1")
    Integer currentPage = 1;
    @ApiModelProperty(value = "每页显示记录", name = "pageSize", example = "15")
    Integer pageSize = 15;
    @ApiModelProperty(value = "短信状态", name = "status", allowableValues = "all,pending,submitted,accepted,delivered,failed,rejected")
    String status;

}
